package com.fling.abcde.bean;

import com.lib.common.bean.BaseResp;
import com.lib.utils.SPUtils;

/**
 * @author FengLing
 * Created on 2017-06-22 22:47
 */
public class UserResBean extends BaseResp {

    public static class DataEntity {
        private String mToken;
        private String mUid;

        public void setToken(String token) {
            mToken = token;
            SPUtils.getSP()
                    .edit()
                    .putString(SPUtils.KEY_LAST_TOKEN, mToken)
                    .apply();
        }

        public String getToken() {
            return mToken;
        }

        public void setUid(String uid) {
            mUid = uid;
        }

        public String getUid() {
            return mUid;
        }
    }
}